package com.ruoyi.ss.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 活动组对象 activity_group
 * 
 * @author ruoyi
 * @date 2025-08-04
 */
public class ActivityGroup extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 活动组ID */
    private Long activityGroupId;

    /** 活动组标题 */
    @Excel(name = "活动组标题")
    private String title;

    /** 活动组内容 */
    @Excel(name = "活动组内容")
    private String content;

    /** 活动组图片URL */
    @Excel(name = "活动组图片URL")
    private String imgUrl;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private Long status;

    /** 活动地址 */
    @Excel(name = "活动地址")
    private String address;

    /** 参与人数限制 */
    @Excel(name = "参与人数限制")
    private Long limitNumber;

    /** 有效期开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expireStart;

    /** 有效期结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expireEnd;

    public void setActivityGroupId(Long activityGroupId) 
    {
        this.activityGroupId = activityGroupId;
    }

    public Long getActivityGroupId() 
    {
        return activityGroupId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setImgUrl(String imgUrl) 
    {
        this.imgUrl = imgUrl;
    }

    public String getImgUrl() 
    {
        return imgUrl;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setLimitNumber(Long limitNumber) 
    {
        this.limitNumber = limitNumber;
    }

    public Long getLimitNumber() 
    {
        return limitNumber;
    }
    public void setExpireStart(Date expireStart) 
    {
        this.expireStart = expireStart;
    }

    public Date getExpireStart() 
    {
        return expireStart;
    }
    public void setExpireEnd(Date expireEnd) 
    {
        this.expireEnd = expireEnd;
    }

    public Date getExpireEnd() 
    {
        return expireEnd;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("activityGroupId", getActivityGroupId())
            .append("title", getTitle())
            .append("content", getContent())
            .append("imgUrl", getImgUrl())
            .append("sort", getSort())
            .append("status", getStatus())
            .append("address", getAddress())
            .append("limitNumber", getLimitNumber())
            .append("expireStart", getExpireStart())
            .append("expireEnd", getExpireEnd())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
